<script type="text/javascript" language="javascript">
    function setTab(name,cursel,n){
        for(i=1;i<=n;i++){
        var menu=document.getElementById(name+i);
        var con=document.getElementById("con_"+name+"_"+i);
        menu.className=i==cursel?"hover":"";
        con.style.display=i==cursel?"block":"none";
        }
    }
</script>
<style type="text/css">
.usercaozuo{
background-color: #F19714;
width:74px;
float: left;
margin-left:72px;
cursor: pointer;
line-height:32px;
}
.userevent{
background-color: #F19714;
width:120px;
float: left;
margin-left:50px;
cursor: pointer;
line-height:32px;    
}
div ul li{
padding:0;
text-align:center;
}
a:link{
color:#00F;
text-decoration:none;
}
a:visited {
color: #00F;
text-decoration:none;
}
a:hover {
color: #c00;
text-decoration:underline;
}
ul{ list-style:none;}
/*选项卡1*/
#Tab1{
width:100%;
margin:0px;
padding:0px;
margin:0 auto;}
/*选项卡2*/
#Tab2{
width:100%;
margin:0px;
padding:0px;
margin:0 auto;}
/*菜单class*/
.Menubox {
width:100%;
background:url(/admins/images/bg2.gif);
height:28px;
line-height:28px;
}
.Menubox ul{
margin:0px;
padding:0px;
}
.Menubox li{
float:left;
display:block;
cursor:pointer;
width:114px;
text-align:center;
color:#949694;
font-weight:bold;
}
.Menubox li.hover{
padding:0px;
background:#fff;
width:116px;
border-left:1px solid #A8C29F;
border-top:1px solid #A8C29F;
border-right:1px solid #A8C29F;
background:url(/admins/images/bg1.gif);
color:#739242;
font-weight:bold;
height:27px;
line-height:27px;
}
.Contentbox{
clear:both;
margin-top:0px;
border:1px solid #A8C29F;
border-top:none;
height:600px;
text-align:center;
padding-top:8px;
}
</style>
<div style="width:100%;height:22px;"></div>
<font size="4">用户信息: </font>
<hr/>

<div style="width:44%;float:left;">
<table border="1px" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF" style="margin-top:12px;border-color: #DDDDDD;float:left;">
    <tr height="36px;"><td align="right" bgcolor="#BFBFBF">用户名：</td><td>&nbsp;&nbsp;AAAAA</td><td align="right" bgcolor="#BFBFBF" width="122px;">呢称：</td><td>&nbsp;&nbsp;aika223</td></tr>
    <tr height="36px;"><td align="right" bgcolor="#E5E5E5">Email：</td><td>&nbsp;&nbsp;sakula_kole@qq.com</td><td align="right" bgcolor="#E5E5E5">仓库号：</td><td>&nbsp;&nbsp;PODUS</td></tr>
    <tr height="36px;"><td align="right" bgcolor="#BFBFBF">金额：</td><td>&nbsp;&nbsp;10.00</td><td align="right" bgcolor="#BFBFBF">成长值：</td><td>&nbsp;&nbsp;0</td></tr>
    <tr height="48px;"><td align="right" bgcolor="#E5E5E5">操作：</td><td colspan="3"><button class="usercaozuo">充值</button><button class="usercaozuo">扣款</button></td></tr>
</table>

<table border="1px" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF" style="margin-top:52px;border-color: #DDDDDD;float:left;">
    <tr height="38px;"><td colspan="2" align="center"><b><font size="4">添加备注</font></b></td></tr>
    <tr><td width="12%" align="right">备注：</td><td><textarea cols="76" rows="8" name="remark" style="margin:8px 8px 8px;"></textarea></td></tr>
    <tr height="48px;"><td colspan="2"><div style="width:120px;height:33px;float:left;"></div><button class="usercaozuo">添加</button><button class="usercaozuo">重置</button></td></tr>
</table>    

 <div style="width:100%;margin-top:58px;float:left;margin-left: 4%;">
    <button style="width: 86px;height:48px;cursor: pointer;">返回</button>
    <button style="width: 86px;height:48px;cursor: pointer;margin-left:38px;">发布消息</button>
    <button style="width: 86px;height:48px;cursor: pointer;margin-left:38px;">添加事件</button>
</div>
</div>


<div style="width:40%;float:left;margin-left:88px;margin-top:10px;">
<div id="Tab1">
<div class="Menubox">
<ul>
<li id="one1" onclick="setTab('one',1,4)"  class="hover">新闻1</li>
<li id="one2" onclick="setTab('one',2,4)" >新闻2</li>
<li id="one3" onclick="setTab('one',3,4)">新闻3</li>
<li id="one4" onclick="setTab('one',4,4)">新闻4</li>
</ul>
</div>
<div class="Contentbox">
<div id="con_one_1" class="hover">鼠标点击变换同一页面只需更改ID可以重复使用1</div>
<div id="con_one_2" style="display:none">鼠标点击变换同一页面只需更改ID可以重复使用2</div>
<div id="con_one_3" style="display:none">鼠标点击变换同一页面只需更改ID可以重复使用3</div>
<div id="con_one_4" style="display:none">鼠标点击变换同一页面只需更改ID可以重复使用4</div>
</div>
</div>
</div>


